type net/http.routingNode
27 uses
net/http (current package)
routing_tree.go#L27: type routingNode struct {
routing_tree.go#L37: children mapping[string, *routingNode]
routing_tree.go#L38: multiChild *routingNode // child with multi wildcard
routing_tree.go#L39: emptyChild *routingNode // optimization: child with key ""
routing_tree.go#L44: func (root *routingNode) addPattern(p *pattern, h Handler) {
routing_tree.go#L56: func (n *routingNode) addSegments(segs []segment, p *pattern, h Handler) {
routing_tree.go#L66: c := &routingNode{}
routing_tree.go#L78: func (n *routingNode) set(p *pattern, h Handler) {
routing_tree.go#L88: func (n *routingNode) addChild(key string) *routingNode {
routing_tree.go#L91: n.emptyChild = &routingNode{}
routing_tree.go#L98: c := &routingNode{}
routing_tree.go#L105: func (n *routingNode) findChild(key string) *routingNode {
routing_tree.go#L117: func (root *routingNode) match(host, method, path string) (*routingNode, []string) {
routing_tree.go#L132: func (n *routingNode) matchMethodAndPath(method, path string) (*routingNode, []string) {
routing_tree.go#L154: func (n *routingNode) matchPath(path string, matches []string) (*routingNode, []string) {
routing_tree.go#L219: func (root *routingNode) matchingMethods(host, path string, methodSet map[string]bool) {
routing_tree.go#L229: func (n *routingNode) matchingMethodsPath(path string, set map[string]bool) {
routing_tree.go#L233: n.children.eachPair(func(method string, c *routingNode) bool {
server.go#L2507: tree routingNode
server.go#L2586: var n *routingNode
server.go#L2647: func (mux *ServeMux) matchOrRedirect(host, method, path string, u *url.URL) (_ *routingNode, matches []string, redirectTo *url.URL) {
server.go#L2691: func exactMatch(n *routingNode, path string) bool {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |